package cn.cangfei.massage.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;


@TableName("massage_info")
public class MassageInfo implements Serializable {
    /**
     * 推拿馆编号 从1001开始
     *
     * @mbg.generated
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value = "推拿馆编号 从1001开始")
    private Long id;

    /**
     * 推拿馆名称
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆名称")
    private String name;

    /**
     * 推拿馆电话
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆电话")
    private String phone;

    /**
     * 推拿馆地址
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆地址")
    private String address;

    /**
     * 推拿馆简介
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆简介")
    private String description;

    /**
     * 推拿馆图片
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "推拿馆图片")
    private String picture;

    /**
     * 创建时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    /**
     * 更新时间
     *
     * @mbg.generated
     */
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;

    private static final long serialVersionUID = 1L;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture == null ? null : picture.trim();
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }

    @Override
    public String toString() {
        String sb = getClass().getSimpleName() +
                " [" +
                "Hash = " + hashCode() +
                ", id=" + id +
                ", name=" + name +
                ", phone=" + phone +
                ", address=" + address +
                ", description=" + description +
                ", picture=" + picture +
                ", gmtCreate=" + gmtCreate +
                ", gmtModified=" + gmtModified +
                ", serialVersionUID=" + serialVersionUID +
                "]";
        return sb;
    }
}
